js validation file size and brief success