Show JS errors when hot swapping
Fix hot swapping error when opening WebGL files