implemented Node:insertBefore