Correct js lint issues