Sass/Compass image size functions written in JavaScript as a Rework plugin