put timeout.js in to one file