Removed some console.log calls which were printing to poltergeist output.