fixed jslint errors (0.4)

fixed jslint errors (0.4)