Update loader.js

fixing the 'tmxData.offset is undefined' issue