Fixed comments; Added jQuery calls

Fixed all Javascript comments;
Replaced some Javascript with jQuery;