An adventure game parser written in Javascript