prepend elements fix

When prepending elements with an array of data it appends instead of
prepend
Merge pull request #15 from mamod/prepend-fix

prepend elements fix