please run jslint the code