added history page
moved fmp2.js to fmp.js