Merge change 1299 into donut

* changes:
  Added Java callback for JavaScript execution timeout.