new windows JS interface
Code cleanup
Merge pull request #3176 from Atlante45/fix_edit_properties

Fix edit properties