Remove trailing whitespace from main.php
Fix scorecard.js spacing
Switch source back to DOS format