Correct type name for javascript