Keep pristine state when attached to input tag

This [fiddle](http://jsfiddle.net/RLNev/1/) illustrates the problem.
This [fiddle](http://jsfiddle.net/SR6Qy/1/) shows fixed version.