Javascript: parseHashtag