got ractive working with JSDOM, modified ractive to make it work