re-committing javascript (for radio button autoslect)