Make more detailed information in JS errors