Hi,
try this..

fscommand("fullscreen", "true");

fscommand("trapallkeys", "True"); // since there's more than one true fscommand, need to change the case

fscommand("allowscale", "TRue");

...