Showscenename not work with javascript on header

I used this hypeDocument.showSceneNamed(‘Home’); on my button, it worked.
But when I use this on header and call function backhome(), it not work.

Help me pleasetestsript.hype.zip (37.5 KB)

@chansi12

This thread might be of help: