Addon adding actions

Added two parameters to append extra JS to script generation