Add jquery.validate and fix some script references