Update formhelper.js

Bug fix on formValidate() when obj is passed. The function did not remove the previously applied classes.