Add missing constants which result in errors in js-test/SpriteTest