Fix move-line-up function

I noticed js2r-move-line-up did not work correctly, so I found this implementation in EmacsWiki (cached) and it works like a charm.