Utilities for Javascript plug

I'd prefer to avoid relative imports, at least ones more relative than a single dot. Oh, and add 2 skipped lines after the imports are over. Whee, syntax niggles.