Fix compute.js

The returned data had a fixed value.