Now declaring references in JavaScript