Uri parse  javascript