Added location service. Dynamically handle on resources loaded events.