Update photoshop.js