Update JS snapshot to version 3.1.0 (via coho)
Set VERSION to 3.1.0 (via coho)