polymer path observer implementation