some js lint errors