Create typechart.js

Hopefully this fixes the bug of the gen 6 typechart being used for gen 4 battles.