JS to insert into an web page to simulate a throttled web page loading