Styles refactor

@ignisf 
Should make the data attributes empty when in the validation passes on keypress. There's no point of me doing the validation as well as its logic has already been written in the ruby code /me thinks. 

I'll wait for your comments on that, if necessary it's not a problem for me to validate the inputs though with error-ish data-attributes it'd a bit annoying.