javascript for services not loading