added partial support for webOS