Removed jQuery functions from watchFormatting()
Timestamp functions enclosed in own object