minor cleanup, compatibility with webOS 1.x(!)