Lose time based on variable (code from rmxp available)

In rmxp i used this code to make the player lose time based on a variable:


$game_system.lose_time(60*$game_variables[2])


However, I'm not yet quite up to date of rmmv's built in functions. How would I write this in javascript? Thanks!
According to the script call list there's only a call to start and stop the timer? Wow... So, is there any other way in MV to achieve this? :/ https://docs.google.com/spreadsheets/d/1-Oa0cRGpjC8L5JO8vdMwOaYMKO75dtfKDOetnvh7OHs/edit#gid=0

Original thread: https://forums.rpgmakerweb.com/threads/lose-time-based-on-variable-code-from-rmxp-available.68356/