The social angle of sharing ones games with friends and getting likes etc. and the ability to quickly play it off a link are huge factors that keep motivation high for kids.
This is underappreciated. I've been teaching my son JS but his main gripe is that he doesn't have an easy way to share his stuff in a quickly playable format.