JS library for writing competitive Pokemon AIs