Moving SVG/PNG code to app.js for #262
Adding PNG/SVG swap so it runs on homepage, for #262
Merge pull request #264 from nys-its/master

Master to gh-pages