JS: Static properties from assignment expressions.

It's the start of including static type analysis.