JS at the end