.Added product categories functionality and added functions for jquery.