Utilities for Javascript plug

Top-level things should have 2 blank lines between them: http://legacy.python.org/dev/peps/pep-0008/#blank-lines.