Bump Cask version
Fix Javascript test cases