Some photoshop scripts in javascipt jsx