cloudCode - setup for html pages