improve W005 checker by properly parsing URL and checking filename

CC: @hnrch02 
I suppose the "Global strict mode can break third-party widgets so it is not recommended." warning probably isn't applicable due to Browserify. Yeah, maybe.