Simple define/AMD indentation. Fix some jshint warnings.