gettime comes from iframe instead of jquery