es6 module example added

I thought it would be nice to show the es6 module in the example.
also a question- when I leave the make-monster as it was, function is not imported in main.js, do you know why?