JSHint fixes.

Apparently {} is better than new Object();