Move FPS meter init into fps_meter.js and use window.location.search

This also required changing how the FPSMeter constructor works so that
static methods on the FPSMeter were properly exposed.