Create _generics.js

Though I wish I didn't had to type over the constants :-)