javascript setup