Minor improvements.

I few minor improvements I made when I was trying to get my wip_liftjs_30 branch working with it.

I like your JavaScriptLoader snippet. Would you be interested in putting that in lift-extras? I'd like to make that the default in my lift-mongo.g8 template.