Enhanced javascript syntax