updated: parameterise the ability to turn webkit javascript messaging on or off via debug_javascript.