changed all console methods to 'log' for compatibility with IE