Fixed js error in helix.websql. Added errorHook to allow custom actions on error.
Further improved installation of window.onerror. Fixed js error in helix.websql.