Created Globals, some ui style changes

Globals, as it was before, did not work with android & common js.