Fixed an issue where the word 'null' always came before the output because JavaScript