Fixed assetmanager config and added base.js for js code