Fixes #2077 - Since the JSRoutes paths mimic the rails path API

in order to put a hash parameter, the anchor option needs to be
used.