Cleaned up formatting & whitespace.
Install as a plugin instead of a global object.
[Closes #1] Added repeatInterval support (iOS).