move previous platform functionality to polymer