moved template into separate file, added xhr helper
only one call to ractive.on()