I have never heard of Google keeping cache's of pages in javascript-disabled states, Googlebot has been processing JS for a long time. And how many users (even considering mobile) really don't have JS these days? This may not be by-the-definition cloaking, but it's right up on the line for sure.