Moved coding-activity.js to promise model.