add client js for browser