Added options to show/hide controls and pagination

I've moved the HTML from javascript to the haml template, I don't like having HTML in the javascript files...