precomp javascript