Generators modified to be ExecJS-compatible; Better Ruby integration