Moved lot of functions from top.jsx which are not react specific.
Moved lot of functions from top.jsx which are not react specific.

tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles