Bukkit.js is a Minecraft server mod for Craftbukkit that allows Javascript scripting and high/low level web communication.