Fixed correct setting value for newScript template

Thanks to Marti for [pointing out](http://userscripts.org/topics/127434?page=1#posts-514706) a bug in saving a new script template in the modified upstream pull.