Executing the simplest "flash('hello world');" in a javascriptlet is ok, but if i put it in a .js file and do the "javascript" task instead of a javascriptlet it doesn't work.
I'm using this as an example, actually i have a bigger javascript, and everything is working, the log is showing that the javascript is executing ok but i'm not getting the flash.
What could be the problem?