Lightweight and simple error creation in JavaScript.