Minor JS issues

I'm not sure why, but the $ operator is giving an error for the each method. It seems that it's not understanding mootools way, but jQuery in no-conflict mode.