frontpage javascript changing