media append_js_var