add js to frontend