add javascript code style