Remove trailing commas, extra variables
Ensure all jQuery functions return the jQuery object
Check that shells are still disabled after only first request responds
Use indexOf instead of $.inArray pending ES5-shim
standardize access to $input.disabled
Move runInitializationScripts logic to reset
Cache JSON url data