fixed moveup/down as well. just need to make it pretty.
Merge pull request #8 from EmFoley/refactoring_js

fixed moveup/down as well. just need to make it pretty.