various snippets of javascript code for improving everyday photoshop workflows.