Static typing is a good thing because we could potentially typecheck the compiler. This allows us to make sure that everything is what it should be. Static typing also applies to strings, which when you look at the example above, you’ll see that they are defined by the syntax of a function declaration. The compiler knows that they are strings, but it needs a way to tell the compiler that this function declaration is a valid function declaration before it can typecheck it.
If you are using some sort of CSS, don’t typecheck it. This is one of the main reasons why we were able to build the demo, which has a lot of awesome effects, but also a lot of problems. We found that we can’t even typecast the script, because the other script was built by us and is only typechecked by us. We have to typecast the script into another page and typecast into other pages.