Declaratively defined configuration (JSX) for javascript applications