Adding slides.js and reference page

Moves jquery and jquery-ui to header instead of footer