Version 2.0.0

Added twitter example into index.
Simplified js logic