moved down js closer to the end of page