Remove unused configuration variables.
Put proper AMD wrapper around all source files.