vAnnotate creates a static files server to serve the Html and Javascript code. When a .js file is requested it injects
logging instructions into the file, for example for function calls and variable assignments.

Logging assignments to member expressions can currently have side effects. For example if you run a[fn()] = b fn will be called twice - once for the assignment and once for the logging call.
To fix this we need to move the object properties to separate variables before doing the assignment and the logging.