Prevent logging resource:// files
Removed leftover console.log