Nikola Jokic made a clutch go-ahead lay-up with 7.9 seconds remaining to lift the Denver Nuggets to a 107-106 win over the Dallas Mavericks.