Scrip tag moved to initialize