It looks like Bukkit might be a perfect fit for ScriptCraft. Bukkit seems to have wrappers around a lot proprietary minecraft code. The ability to use those wrappers in Javascript would mean that once ScriptCraft was installed, futher Bukkit plugins could be written entirely in Javascript (no need for java).