Moved x2js into utils
Drag to resize nodes. Resolves #9