Fix page-specific js population (debug)