There needs to be a "resetHealth();" in the onLoad function for health bar to work properly. So your onLoad Function should be:
function onLoad()
{
velocity = 10;
shootLimiter = 0;
enemyTimer = 0;
enemies = [];
resetScore();
resetHealth(); <- Here! :)
}
I'm planning on implementing new features - and definitely adding more robust graphics.