nit: jshint :)