add correct client side script