Javascript validations (signin, signup and edit profile forms) and tests (cucumber and rspec) working completely