Fixes #3 and console.log() enabled