Adding a individual js file for category function