fixed bug under IE in the require function
shop fixes
fixes in shop