removing JS library from templates