added loc_order to location model, refactored location.js
Merge pull request #17 from jennielouie/working

added loc_order to location model, refactored location.js