Fix js code style