Load external .js file in Axure rp 8

I have a app.js file contain the following code

function hello()
alert(“Hello World”);

I want to load the app.js file in Axure rp 8 and call the function hello(). I tried different method but not succeeded. Can any one of you give the solution for that.

Thanks In advance

javascript injection.rp (39.6 KB)

Any Interaction to “OPEN LINK” -> “link to external URL” -> “javascript:alert(1)”