JavaScript Math object : tan() method