finished updating ajax syntax, got rid of initial query on sources