Code refactoring

The code was repetitive and old. This change is one iteration towards a
complete refactoring of the code which brings it to a better state.

Also, the extension icon now can be clicked to open the options page.

Change-Id: I998355cd871e31d6590608ff2563d43040944a83
diff --git a/src/json/credits.json b/src/json/credits.json
index c0c34e4..e2e9882 100644
--- a/src/json/credits.json
+++ b/src/json/credits.json
@@ -1,30 +1,30 @@
-{
-	"icon": {
+[
+	{
 		"name": "Metro Uinvert Dock Icon Set",
 		"url": "http://dakirby309.deviantart.com/art/Metro-Uinvert-Dock-Icon-Set-725-Icons-294529071",
 		"author": "dAKirby309"
 	},
-	"translation": {
+	{
 		"name": "Russian Translation",
 		"url": "https://code.google.com/r/sashasimkin-translateselectedtext/source/detail?r=fc4e58ee0d69929d610a84a7600338e99b9d3d83",
 		"author": "Alexander Simkin"
 	},
-	"sortable": {
+	{
 		"name": "Sortable",
 		"url": "https://github.com/RubaXa/Sortable",
 		"author": "Lebedev Konstantin",
 		"license": "MIT License"
 	},
-	"widgets": {
+	{
 		"name": "Chromium",
 		"url": "https://code.google.com/p/chromium/",
 		"author": "The Chromium Authors",
 		"license": "BSD-like License"
 	},
-	"languages": {
+	{
 		"name": "What-2-Nite",
 		"url": "https://github.com/enricolucia/what-2-nite/blob/master/isoLangs.json",
 		"author": "Google, Inc.",
 		"license": "MIT License"
 	}
-}
+]