fixed more js lint errors