First draft to make aside compatible with latest version of chrome

Update query
Fix the manifest to v2

Move js out of options.html