combine mouse event and other effect to index.html