improve toJs for literal numbers that happen to be integers