Fixed scripts for slider

We were using LabJS which required to use their loading process instead
of sequential html load. See http://labjs.com/documentation.php