Added code to WebPartProperties.js