Fixed running on Firefox, commented out console.log statements.