updated js ref