I am getting some data on page loading in html script file and now I want to pass it to a Js file controller where I can do operations