Enabling functional js on the opening page