Added missing "var"

A missing "var" causes the function track to be global, causing problems
for multiple instances of headtrackr.