Added support for offline user. Moved animations to js dir.