deleted duplicate block js