Fix bug: gh-pages cannot reference js if ignored