Changed drupalgap_goto_generate_page_and_go() to check for an undefined theme_registry cache setting.