Wire up client JS inclusion correctly