Fix options page JS