Updated x3dom version to dev version. This was necessary as the older version had a bug with dynamic shader updates in an Appearance. The x3dom commit https://github.com/x3dom/x3dom/commit/083099f2acd0500e528e37e2f396c813be0c9cea fixes this.
some x3dom library fixes for wrong usage of 'for (var item in array)'
x3dom fix: added (temporary?) fix to enable reparenting of X3D element