updated refs to js for client