Store script and uri as char*, not as NanUtf8String
Update uri at each state - needed for later comparison