Welcome to the forum.
You would maybe be better served asking in the PhotoShop Scripting Forum
http://forums.adobe.com/community/photoshop/photoshop_scripting
Or even here:
http://www.ps-scripts.com/bb/index.php
In general, I think there were changes across the board with the scripting in CC that broke things in PS, IL, ID, etc. I have seen it in both the Illustrator and InDesign scripting forums, previous scripts no longer work as before or are broken, features removed, etc. Sad but true.