https://trello.com/c/HxGk5OhB/2--
new upload js function is added.
Merge remote-tracking branch 'origin/master'