Photoshop script to create an optimised gif from a series of layers in a psd. Uses a combination of JavaScript and Actions