Added a check if a page needs Muut resources to make sure if it does, it declares the muutObj function as well as include scripts to prevent undefined errors.

Signed-off-by: Paul Hughes <paul@paulalexanderhughes.com>