Use 3rd party JS libraries (including JQuery), call Javascript functions, access object properties and methods. Implement game objects, and algorithms in Javasc...
Instead of
Init ["RectA"] with javascript ""
Init ["RectB"] with javascript ""
Set ["RectA"] to 666
You should do
Init ["RectA"] with javascript "RectA"
Init ["RectB"] with javascript "RectB"
Again. Init ["Alias"] with javascript "foo" means that the plugin will remember that wherever you're putting "Alias" when dealing with aliases, it actually means javascript object/variable/array foo. For example "Alias.left" means foo.left. "Alias[bar]" means foo[bar].
Ah okay. Thanks. It was a bit confusing.