2
it's possible.
but depending on the javascript used, it may cause problems with other scripts.
you may need to add an include statement to the in theme.html to call the .js script before the block would function tho. not sure if you can add the include in the block itself or not, but try it and see.