How to remove key value from javascript object?