put imgupload.js in front of client.js in jscompile like it should be