Proper checking for truthy value in redraw_map
Can now specify index using query string (e.g. 'index.html?index=badc')