Refactored javascript using revealing module pattern
Exchanged mapbox for lyrk