exposed AssetsManager to javascript and added multiple-assetsManager support