I was looking at the examples used in php.js library http://phpjs.org/functions/index and it struck me that is cleaner to read the functions and code without the $ names in it
>From what i understand $ in front of variables is an Perl legacy -- developer flamerobin.org