Updated loadElements to only replace if it finds elements
Merge pull request #3 from jstarry/master

Improved loadElements to only replace an element if it finds it.