Fix: JS exception log didn't work