de-AMD-fying main file
Removing unnecessary Object.create for compatibility