Support serving certain static resources and write a simple html page which polls the server for the battery level using javascript