pass URL via page JS variable