Item13112: fixing jslint errors