Boxspring.js calling pattern