fixed selectArea.js