placed js on the bottom