Functions from crockford
Node manipulator added