configuration of JS