test/JavaScriptAmdRequire: Added missing var-statement