squash! Adds minimal javascript api handler and wired up buttons. Started work on migrating command line functions to work for Web and command