General updates with a full rewrite of the javascript end fo the spine

This will be general work on taking what functionality is there currently and incorporating things like the search back in.  General over overview is

- [ ] fix all errors and bad practices 
- [ ] create a plugin extending the jQuery $.fn for the main spine functionality 
- [ ] reincorporate the autocomplete search functionality 

***NOTE:*** work that is on this pull will be highly influx.