Changes js var globalSettings to kwpsSettings and kwpsPolls to tests on form page