remove extra console.log
add checking for file upload feature support