Reposition JAVASCRIPT syntax