Set up for requierjs and amd