Moving closer to proof of concept

Renamed self to survivor (self is a protected word in javascript)