Fixed:Relative urls for javascript files causing problems when form validation errors arose