Pure JavaScript drag and drop puzlle