Proposed fix for class methods bug in JSObjectionUtils