Housecleaning and code compacting

Added a style for a jQuery effect on home page, and combined several
scripts to reduce number of Ajax calls on the server. The combined
scripts returned their results in JSON objects rather than echoing a 1
or a 0.