allow simple scripts as amd module in browser environment