Reformatting of the code using http://jsbeautifier.org/.
Wrote some initial tests on move_node.
Fixed a bug where moving node down would not work if the current position was higher than the destinatino position due to some some odd logic (which was removed).
Removed some content replacement logic from the gruntfile (which should probably be removed altogether)