JSX script to batch resize images in photoshop