moved javascript object up so I can eval in console