Examples how to create DSL in JavaScript