scaffolding for clientside js