markup complete, w/ psuedo js