Support throw statement in javascript engine

From GitHub:

This is to be able to abort running scripts from within scripts themselves:

var component = juce.Desktop.getComponent("buttonId");
if (!component.isVisible())
    throw "Test failure !";