Create frontend javascript client