will look at this further in the morning, but surely extend.js should be in srcFiles ?