General code clean up

Removed commented out code from debugging and testing
Added "State Tune" to the heading
Used the servicesURL variable througout in AJAX calls