remove javascript syntax
remove old javascript syntax