remove javascript object