a javascript plugin that split string by space