add fix for json error when no category relationship selected.
added js validation to required categories relationship.
one last fix.
Merge pull request #376 from loadedcommerce/B2455

B2455