added jsRPG.js to a global var and moved it to vendor folder