Fixes on example & template files for "Toggle map view" and "Query by distance" for CartoDB central