Used js destructuring assignment while importing panel and widget.
Merge pull request #2 from darkowlzz/download

Used js destructuring assignment while importing panel and widget.