A service container in javascript.