Fix for #2461 JS driver lost variable digits
Merge branch 'masatoshi_2461' of github.com:Masatoshi/rethinkdb into Masatoshi-masatoshi_2461
Merge branch 'Masatoshi-masatoshi_2461' into next