Update styleSelect.js

Removed test from function name, since it actually works now.