changes to homepage js and mpc app