Update click_slider.js

Change the way the plugin checks whether it was triggered by a script or a human.