First addition of add_js_var, convert PHP array to name spaced json object
first addition of Assets::add_js_var()