Update bootstrap-slider.js

Use AMD loading if possible, (used it with dojo)
Did not fully retested the global registration with jQuery after this code addition.