http://stackoverflow.com/questions/323517/is-there-an-equivalent-for-var-dump-php-in-javascript?answertab=active#tab-top