demo of creating custom elements using script and without script