while adding a test for the roundEnd handling by the mobile.js, caught a bug, fixed it.