Added Split and Join Array functions in JavaScript