compileJS (JSError exc) =
  "(function(){throw '" ++ exc ++ "';})()"
compileJS (JSError exc) =
  "(function(){throw '" ++ exc ++ "';})()"
compileJS (JSError exc) =
  "(function(){throw '" ++ exc ++ "';})()"