added timeStamp method; JSMath class