Minor corrections to pass jslint tests
New build