update to last basisjs; fixes in pageScript.js for correct building; replace basis.require('app.type.file') to resource