fix storing and add BeforeDelete handler
diversify ractive.On