Fix javascripts on options page