change type handling order in jsify