adds showErrors JS for showing basic bootstrap form validation