removed plugin options from framework, added variables to js_vars and made it accessible for admin