Create typechart.js

Hopefully this’ll fix the bug of the gen 6 typechart applying to gen 4.