Add advanced javascript syntax