Update result.js

match pull request to fix error finding result.js