Added example page and fixed pop-up.

Moved javascript below the DIV and now the pop-up is appearing correctly
again.  Also, a basic example page and controller have been added.