typos
whitespace
jQuery extension refactoring