Mojolicious "url_for" helper for javascript