Revert to native time in JS to fix teacher change bug