Temporary fix for firefox.
sprite rendering now works in js. Had to use pjs preload and wrap charCodeAt.