Validaiton library and jasmine unit tests created using require js