add javascript syntax and indent