Use encodeURIComponent instead, for other chars

Specifically '#'