Refactored element selectable functionality to jquery plugin
Refactored element draggable functionality to jquery plugin
Bug fixes for draggable