JavaScript Math object : atan() method