Fixed wrong method call on option creation while building control

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Removed html from missing property message when accessing non existand
data

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Wrapped script creation with SMFs JavaScriptEscape()

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Reformat

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Reformat

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>
Added static method to handle WebExt hook calls

Signed-off-by: Michael 'Tekkla' Zorn <tekkla@tekkla.de>