fixed #559 : selecting existing asset if same name used for renaming
fixed #559 : verified using jshint
fixed #387 : rename with existing asset name
fixed #737 : rename with existing asset name