Fix JS style issues