Fix some HTML issue for the advance nursery screen
Move glboal variables to the globals.html

Reviewer: Tiffany Go (Post-commit)
Issues: None