Fixed the cross browser issue. Should work on anything IE > 9, FF, and Chrome