JS for work and placeholder htm files