Committing patterns folders.

Added jsdom to manipulate the template file better than plain old string concatenation