Allowed sub cats with spaces

Uses js regex to replace spaces with ' % ' in sub cat urls.
shop.php replaces ' % ' with spaces for the mysql query.