I don't think you can call an external script located in a folder. I think you need to have it as a script in your html.

However, I have to admit that my knowledge is limited and I am not necessarily an expert in that field.