Cleaned up clunky script tag issue