Yoda Stories clone in JavaScript / Canvas