Fix for strict mode

Soon duetto will enables JS strict mode and global variables should be created explicitly