Added note that javascript outside the head tag can lead to events being bound multiple times and causing multiple ajax submits etc.