Added basic scripting

The onEnable() in the javascript interperetor is actually called :D