Create the js script dyncamically