Add support for web platform