seperate local and nosql html