moved script tags to end of body