Fixes for IE issues

Commented out console.log
Modified Object.keys.forEach to jQuery iterator.