Add early js

I made the slider JS code last week in a seperate local repository. It
will likely need further modification before it works acceptably.