Fixed failing unit-tests (rake test:as3). Working towards validating HTML5 target through tests (rake test:html5).