completed .js validations on take survey and corrected the validation on survey create