Connecting category, post, comments on front end
js file