getting started with client side javascript