add linear partition js file
process images after load using atom counter