enable both ajax and maybe monads