preparing to solve issue #27

I made some changes in main.js to solve issue #27.
Links will be introduced tomorrow to texts.