I am trying to reference a .js file uploaded to the site document library. but on ececuting it gives an error. please note that this did not exist before
code in solution
But i am getting a MIME error , that says that refused to execute text/html.
where am i going wrong? also why is this issue appearing all of a sudden and it didnt exist before.