Bug fixes for multiple forms on the page and input[type=file]. Jslinted.