added basic template and client-side js