A web implementation of the Internet of Things