Changed the renderElement() implementation into a slightly less dumb version...
Merge pull request #45 from rolandzwaga/develop

Changed the renderElement() implementation into a slightly less dumb ver...