Fix JSHint warnings in base layout