Got javascript hookup working