[javascript] How do I create a custom Error in JavaScript?