I am using this function for niceScroll but it is not working in Safari. However, it is working fine in Firefox, chrome and even in IE. How can I resolve this?

```
jQuery(function($) {
    $(document).ready(function()
    {
      $(".tableClass").niceScroll();
    });
 });

```