Add client-side validation of file size using jQuery and the fact that
the HTML5 File API specification allows basic interaction with local
files.

Source:
- http://stackoverflow.com/questions/1601455/check-file-input-size-with-jquery/3937404#3937404
- http://i.ndigo.com.br/2012/01/javascipt-checking-the-file-size/