moved clientscript to web