Knowledge check: Error handling in Javascript