Some simple usage of number functions and native Math in JS