Of course you can. You do the rendering of your custom control and you're
allowed to put any tags and functionality inside of it. Probably it's best to
make some public property of type string scriptFolder that you enter to connect
to correct folder with the js file... I'd do it that way. But there may be
things I don't know behind this, that you know...