Added js and DOM in index