have you tried:

var fps_max = 60;
var fps_lock = ON;

already?