Fix js coding style issues