Beginning work on popups with js.

Signed-off-by: Christian Smith <christian@senshikaze.net>