JS picking wrong type

Printable View