Fix JS lint issues