using require js for amd