switch demo to min js