Revert "removing JS library from templates"

This reverts commit d44c8115b71f6a131fa37adfaacdf0dfb5edd22d.