firefox fixes

Removed use of element.innerHTML to conform to firefox addon security
policy
version number
Preview images [firefox]
Img preview and options on chrome