[js] compiler: augment cur_env decl. scope
[js] compiler: always pop R1 at end of expression
[js] compiler: keep R5 value in generated function as we are going to use it
[js] compiler: initial support for assignment. Only TOK_EQ is supported. Only in cur_env.