[core-utils] fix detecting content type when html5 and flash