Create assetsbefore.js