Missing semicolon in js for level up bar