getting ajax on bakepage to work