Initial refactoring.
Fixed JSHint notice.
Use Seq for tasks list.
Merge with upstream.
Added todos and comments.
Added todo for cordova context.
Merge pull request #10 from Sanchiz/remove-delay

Get rid of delay