Added server side proxy support for cross origin problem, and support calculated background images