Create base.js

Javascript Library with "Magic Code", note that JQuery and Jquery UI are needed for this plugin to work.