Ported JsAppServer from Haskell to Go