- Adjusted createNode to accept 'cls' also as a 'class'
- createNode no longer changes the passed schema
Use 'cls' instead of 'class' (some browsers don't like the later without quotes)