Added URI parsing library to fix cross browser issues