Approximating sines and cosines using up to five terms of the Taylor series
Instead of computing Math.pow() from scratch, multiply the previous numerator by x2.  (I suspect that Math.pow() uses logarithms so that it can handle the general case.)  Also, instead of computing the factorial from scratch, multiply the previous denominator by the next two numbers.