Add gensym to core.js