How do I make a box users can move with JavaScript?

I want to know how to make a little box a user can move around on one of my pages, I want it to be like a tool and they can move it around if it is in their way by clicking on the top bar of it where the headers is a dragging it around the screen, is this possible with JavaScript? If not what language could you do it with?

Report as