Repository for ajax code