split map.js
reorder functions and attrs
create photo object, partial refactor
refactor to fully use Photo class
remove commented lines
uses own height/width functions
Merge branch 'master' into js_refactor
Merge pull request #16 from th7/js_refactor

Js refactor