static resource update and javascript form validate -to be cont.