Change model naming in avatar.js to Avatar.