CommandBlocks.js allows you to translate Javascript code to Minecraft Commandblocks