setup for javascript app