Moved script tags to body