changed element empty with replaceWith

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>
Merge pull request #20 from molecuel/master

changed element empty with replaceWith