small formatting changes. cleaned up the upload.js file.
enabled package restore.