introducing js client side