Added move up/down JS functionality