Update cue.js to 0.5.1