remove javascript reference. was define twice