added method to get j_reference from j_id