Updates to client page, minor JS improvement