Converted to Constructor Pattern
show cookie data from php
Properly use $ for jquery interally and not globally. Good for when used in conjunction with other libraries that might hijack the $ variable.
made data public for easier inspection