wrapping the app.jsscript