and the popup js