SyntaxError: property name scaleControl appears more than once in object literal