[ ENGINE-263 ] move upload stuff out of evrythng.js