Added php redundancy of javascript parameter settings