Input Type File Image Validation Javascript