added javascript to modify submit text once sliedown animation has
finished