Fixed not to copy css/js templates more than once.