cleaned up layers
cleaned up demo javascript