Code clean up on javascript for improved readility.
Merge branch 'master' of github.com:GBora/Slider-Stable