changes to frontpage javascript that controls color shift