moved parseValue function
changed the return of the plugin to jquery syntax