LUN-1834: added js validation for categories field. 

Also, slugs for categories will strip connection words.