Improving comments for new functions, as well as better use of JavaScript code conventions (http://javascript.crockford.com/code.html)