allocated code into one .js