make sure an element has a parent node before attempting to insert before
Release 0.1.0