move missing scripts to ajax