moved html out of index.js into template files, updated to 1.0.1