anchor.diff:                  function removeChilds(el) {
                       if (el.hasChildNodes()) {
                           while (el.childNodes.length >= 1) {
  -                            el.removeChild(el.firstChild);       
  -                        } 
  +                            el.removeChild(el.firstChild);
  +                        }
                       }
                   }
                   function featureSourceChange(featureSourceId) {
                       var selectedValue = parseInt(featureSourceId.getValue());
  -                    
  +
                       var simpleFeatureTypeId = document.getElementById('simpleFeatureTypeId');
                       // We are now emptying dom and adding options manully, don't know if this is optimal
                       removeChilds(simpleFeatureTypeId);
                       simpleFeatureTypeId.appendChild(getOption(-1, 'Kies...', true));
  -                    
  +
                       if(selectedValue != -1) {
  -                        Ext.Ajax.request({ 
  -                            url: '<stripes:url beanclass="nl.b3p.viewer.admin.stripes.AttributeActionBean" event="getFeatureTypes"/>', 
  +                        Ext.Ajax.request({
  +                            url: '<stripes:url beanclass="nl.b3p.viewer.admin.stripes.AttributeActionBean" event="getFeatureTypes"/>',
                               scope:this,
  -                            params: { 
  +                            params: {
                                   featureSourceId: selectedValue
  -                            }, 
  +                            },
                               success: function ( result, request ) {
                                   result = Ext.JSON.decode(result.responseText);
                                   Ext.Array.each(result, function(item) {
  
positive.code:                 // Init with change, because a certain select value can be preselected
                  featureSourceChange(featureSourceId);
              });
              
              function reloadGrid(){
                  Ext.getCmp('editGrid').getStore().load(); 
              }
          </script>
          <script type="text/javascript" src="${contextPath}/resources/js/services/attribute.js"></script>
      </stripes:layout-component>
  
  </stripes:layout-render>
  
negative.code:                 <iframe src="<stripes:url beanclass="nl.b3p.viewer.admin.stripes.AttributeActionBean" event="cancel"/>" id="editFrame" frameborder="0"></iframe>
              </div>
          </div>
          <script type="text/javascript" src="${contextPath}/resources/js/services/attribute.js"></script>
          <script type="text/javascript">
              var gridurl = '<stripes:url beanclass="nl.b3p.viewer.admin.stripes.AttributeActionBean" event="getGridData"/>';
              var editurl = '<stripes:url beanclass="nl.b3p.viewer.admin.stripes.AttributeActionBean" event="edit"/>';
              var activelink = 'menu_attributen';
  
              Ext.onReady(function() {
                  var featureSourceId = Ext.get('featureSourceId');
                  var simpleFeatureTypeId = Ext.get('simpleFeatureTypeId');
  