Rewrite settings check in jslider.js
Add missing semicolons in *.js