Javascript actually has try and catch. Nice to know litewarez.