add js platform