added initial js setup