Compiling and executing core.logic in JavaScript