pass jshint

jshint has length as a global variable in the browser, so renaming the variable which is in the asap file to len even though in context it won't be an actually global variable.