Fix js lint errors