Update custom.js

restored isTest() and answerbase link modification.