load a javascript from a message when the user agrees