fixed jslints