fixed dot and bracket accessors on immediate numbers

Please see the unit tests. Without this patch (25).toString() gets compiled to 25.toString() which the browser fails to parse. This patch makes sure we keep the parentheses around numbers.