Haskell implementation of a javascript minifier