Added data-external link attribute check in the onclick event handler on...

... line 413 of index.js