all functionality working without db, error of multiple firing ajax present