Rework and fix offline support.
Consolidate all my javascript files.
Remove duplicate photos.css file.