Consolidating front end file upload javascript into its own javascript file so that it can be reused in play.php. Also fixed bug where  was empty if a file larger than 20mb was uploaded because of php.ini settings. Handled this bug by providing front end error handling for this occasion using the html5 file API.