removes deprecated observers and uses the sdk/events api instead;
code cleanup, renames variable, removes console.logs;
removes unnecessary console logging;
Merge pull request #1 from ravenac95/fix-ff-29

removes deprecated observers and uses the sdk/events api instead;