extending php functionality to more fully customize springy.js