adding new 2.0 beta js