fixes #1819 - moved some var definitions to please IE
Merge pull request #1830 from dotCMS/issue-1819-timemachine-IE9

fixes #1819 - moved some var definitions to please IE