Write some Javascript and escape the maze