Added ability to hide input without jQuery.