moved script tags to bottom