minor fix on amd loader for testing in node static file server