Change methods assignment on hun.js