JavaScript Implementation of ZorkFun