Bukkit.js is a Minecraft server mod for Craftbukkit that allows Javascript scripting, in combination with high/low level web communications.