quick bughouse.js fix