split into two js builds