add upload
added background upload

small fixes to js code
Merge pull request #2 from enc/master

Background image upload