ajax call to boilerplate generate