Update base.js

Add refresh captcha js support