Having an attribute which value is either a string or number (from JS point of view) is rather surprising.