[js-phantom] fix encoding and change a html filename