Setting up strict mode, fixing problems.
Fixed character set issue. Placing default values for attributes.
Fixed Audio Manager references to bgm.
Finally, it works on Firefox.
Strict changes.