cleaned up js namespace and prepending correct phrase to body