Added health bar. Continued moving settings to JS.