Adding a layer with no javascript example