Implementation of gettime in browser. It's alive!!!!