js Imagepage modified