add prototype
enable global draggable