First cut of the JavaScript->AS3 AVM1 migration
Merge pull request #551 from yurydelendik/as2-as3

First cut of the JavaScript->AS3 AVM1 migration