added typos to imfree

- separate the function for multiple use
- on vote.js fixed the non firing of the username