provides oTotal, dTotal, wR on json
index just for api

it is not useful for day page anymore, requires week_id
adds attributes for json
removes unnecessary methods