some cleanup and building billable ajax form