new structure for require, and jquery