Avoiding JavaScript Type Conversion Issues - How Type Coercion Works