revised library tab

- removed iframes from auth and index
- added iframe to get and view
- added js to clean up iframes
- moved javascript source to live on library side of code so that we can alter js without re-generating BB