LUN-1673: added js validation for categories field. 

Also, slugs for categories will strip connection words.