added missing index.html files
changes javascript trigger to something more specific than the class .thumbnail

fixes #34