Javascript fix for Service Panels