fixed missing js and settings page bug