A javascript wrapper to control a local Titan server