Java Script library for moving elements