Made nineplate work with the javascript renderer instead of concatenating strings