Adding a plugin facility for the soy template context.

Sometimes SoyFunction JS requires other libraries.
Typo fix.