refactor of the screen-details javascript

* complete rewrite of the javascript to use jQuery
* complete rewrite of the page-specific CSS
* add a couple more button icons