experimenting js interacting w/ server