Checking js working in template