Reduced some overlap between Jonah and Sugarcane

Also:
* Added "visited()" as a function available to custom scripts (see
http://www.glorioustrainwrecks.com/node/5401).
* Normalised whitespace in engine.js.