Improve admin.js

What this pull request includes:
* improve `jQuery` usage
* cache `#tab_PDF` elements
* use `#tab_PDF` element in `switch_tabs` function
* remove superfluous semicolons

As I don't know what you are using to minify your JavaScript files, please do that yourself - if you accept this pull request, that is.