added findOrCreate
build clientside js