Renamed js files to have one syntax standard; Moved js code from FEPS PF to separate js file