Fixed semantics and placement of tags

New placement of meta and script tags