1. Reorganizing to packages.
2. Importing jQuery.
3. Making first line of JavaScript execute as per the content security
policy of Chrome extensions
(https://developer.chrome.com/trunk/extensions/contentSecurityPolicy.html)