adding proviso for js settings