javascripts files not linking to my category slugs?

Relative URLs are best avoided in WP, so use absolute URLs instead. Also, you should load javascript files using the correct method, ie by using the wp_enqueue_script() function hooked to the wp_enqueue_scripts action hook. Doing both of these things will sort out your issue. Using wp_enqueue_script() will also allow you to define dependencies so, for example, you don’t load jQuery twice (in the event the theme or another plugin is already loading it). The page I linked to shows an example of the code you need.