small change to refworks js