System.nanoTime: Resolve JS timer method only once and cache for future uses.