Uncaught TypeError: (a || "").split is not a function