removed debugging commands [console.log()]

Signed-off-by: Miguel Guerreiro <miguel.guerreiro@gmail.com>