Use internal javascript