Added getElementsByName support.

Please merge. Recompile the TestApp please!