Adding the uploader.js

Must take care about the "request.onreadystatechange", for now it's only possible to use success or error at a time