Adds force clearing for GDJS

This is a bug fix for http://forum.compilgames.net/viewtopic.php?f=5&t=5451
Adds force clearing support in GDJS (replace the isTemporary boolean).