original source: https://github.com/jbroll/fitsy.js
