organize and add javascript syntax and indentation