Funny.....
HTML ports are complicated ....
your syntax must be PERFECT and comply with JAVASCRIPT not GML ....
GML will let you get away with not using ; after a line,
GML will let you get away with skipping variable definitions ....
GML will let you reference objects and/or globals before they are defined ....
GML will use a system font if you have not defined one ....
violate any of these and HTML ports may crash at random times ...
Sometimes, to find the error, you need to comment out 3/4 of your game just to see if anything works ...
That is why the correct answer to your question is "Nope"...