Remove commented 'console.log'

Remove commented 'console.log' and fixed one small mistake in file.php