\documentclass{article}
\usepackage[dvipdfm]{hyperref}
\usepackage[dvipdfm]{insdljs}

\begin{insDLJS}[HelloWorld]{mydljs}{My Private DLJS}
function HelloWorld()
{
app.alert("Hello to everyone at the CSU Academic Computing Conference!", 3);
}
\end{insDLJS}

\begin{document}


This document serves no purpose.  It has a 
button and an embedded JavaScript program.

\bigskip

\begin{Form}
\begin{center}

\PushButton[name=button, 
            onclick={HelloWorld();}]{Push Me!}

\end{center}
\end{Form}
\bigskip

Just for the heck of it, here's some very fancy-looking
Mathematics:

\[ \Theta_{Z}(z) = \sum_{m=-\infty}^{\infty} q^{m^2} 
= 1 + 2q + 2q^4 + 2q^9 + \ldots  \]
\end{document}