Room ajax single page apps rule