Found bug in dopamine.js