[jquery] Split comma-separated input box values into array in jquery, and loop through it