Use ghostpaths to build out the image url
Removed unused code from ghostpaths
jshint cleanup
Code cleanup