JavaScript Augmenting Types