drawing app refactored using backbone and requirejs