refine the asset protocols, remove the javascript