Fixed use of String()

JSHint was complaining  - see http://jslinterrors.com/do-not-use-a-as-a-constructor/
Makes jshint happier :)
applying bugbots jshint fixes