add js reference to servcie