Show warning, if JavaScript is disabled
Rewrite getNum(), now with isFinite() check