aha! we don't have Expcetion class in javascript :D