Sizing Function

Refined function in spine.js and moved it to #jacket