Say I have an object such as this:
var time = { \'second\': 1000, \'minute\': 1000 * 60, \'hour\' : 1000 * 60 * 60, \'day\' : 1000 * 60 *
you can't reference properties from itself if you are declaring it like that as the properties dont yet exist, you might want to try a different approach
var time = {}; time.second = 1000; time.minute = time.second * 60; ...