compileJS (JSArray elems) =
  "[" ++ intercalate "," (map compileJS elems) ++ "]"
compileJS (JSArray elems) =
  "[" ++ intercalate "," (map compileJS elems) ++ "]"
compileJS (JSArray elems) =
  "[" ++ intercalate "," (map compileJS elems) ++ "]"