precompiling scoreboards js