Extract inline JS from intro.

Fixes #3