change dom event type
promisenize and support pna file
Merge pull request #13 from Ikagaka/3.0

3.0