<html> <script src="CollinsPdf.js"></script> <Button onclick="CollinsPDF('','Hello World')">CollinsPDF('','Hello World')</Button>