LVS - connecting front end to back end after some back end changes.  Also re-combining keep and swap functions in js.