testing javascript in order page