further structure setup for client-side javascript