Question about .js file's loading

I use 2 plug-in in a page, one of the .js files in /client/compatibility folder, another in /client folder. Now the js file in /client folder cannot be loaded, tip: “Uncaught TypeError: $(…). SlimScroll is not a function”, normal after refresh the page.

code is simple:

      $(function(){
        $('#postContent').slimScroll({
           size:'15px',
           color: 'RGB(0,0,17)', 
        });
      });