Load scripts asynchronously in production environment, and disable GA in debug environment