added js block at the end of body