jslint is a friend