updated tiny-spa.js framework