changed example html file, added constructor to move