Add initial client-side code