edit beanstalk.js