fixes issue with require js?