Supporting Bootstrap and js fixes

Removed the calls to $.browser since it is not supported by jQuery any
longer, instead i did a quick call to userAgent.
Also, change the z-index to 1051 to be on top on bootstrap modals
Modified CSS to look better with Twitter's Bootstrap