restructured and documented javascript code, updated versions of jQuery
and Twitter Bootstrap