In your code above there's no "var" in line 3. Please post the complete code.