Jquery Select Add Option Javascript Substring Function