JavaScript trick: error handling — by @finleyberg on VOID | VOID