Dynamic entities are properly supported by IEnumerable functions in the parser and compiler.  Added javascript translation for dynamic entities.

Signed-off-by: Bryan <mattheyan@gmail.com>