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