assetmanager javascript bug