Jquery Split String Into Array Python Question