Fixed error with insertBefore.
Merge branch 'master' of https://github.com/QScience/ViJo