Fixed error in structr-app.js which occurs no type is given