fixed minor typo
Updated jsfiddle code to actually run validation
Added changes by encrypted commerce