Tiny JS options page cleanup.
Use strict comparison only if it actually matters. Some var/let changes, refs D510. Some lineendings.