DEVELOPER-644 prevent author leakage

As JavaScript has no block level isolation of variables, we were leaking
authorship and ratings from developer material to the next.