fix bug 1044093 - friendlier kumascript errors

**DNM** yet ... still have a couple TODOs.
`<button>`defaults to `type="submit"`so you'll need a `type="button"` here i guess :grinning: