(I am new to JavaScript.) I have created (or tryed to at least) a script to try and record and display the average FPS of the device while a program is running but I can\'t