updates to copy, added show random hospital functionality, refactored some JS