separated index.html into two, one with inline, other with external css & js