Fix accidental assignment in if condition.
Fix operator precedence bug leading to fnid of 0.
Merge pull request #280 from google/rsturgell

Fix small bugs in instrument.js