modify replies.js to be loaded when required