Modified main.js & Readme.md

Main.js fine tuned to render some tag pairs correctly.