made jslint and myself quite happy.