A Javascript Universal Module to create custom errors