Added missing JS window params