fixes #1. the ICONS constant is provided as a json-encoded associative array. also added JsWrapper for javascript enhancement for embedded bibtexbrowser