Removed code duplicates from Avatar and Skeleton examples by including app.js.