Add ex2js class