Repair JavaScript LiveReload.

Fixes #5.