Added support for 'ongoing' syncs. Closes #22. Fixed a bug resulting from a lack of a var self = this instead of self = this on function declarations