Cross Browser

Implemented crossbrowser fixes