Update rebound.js

Added missing `var` statements.
Merge pull request #7 from sphire/patch-1

Added missing `var` statements.