First push of client scripts. still a work in progress.