remove Platform api in favor of Polymer.