some tricks to improve pagespeed scores; don't hardcode initial location