# Use Moment.js and Lodash in scripts

**URL:** <https://community.fibery.io/t/use-moment-js-and-lodash-in-scripts/3240>\
**Category:** Ideas & Features\
**Created:** [September 2, 2022, 6:03pm UTC](https://community.fibery.io/t/use-moment-js-and-lodash-in-scripts/3240 "2022-09-02T18:03:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [December 9, 2022, 7:33pm UTC](https://community.fibery.io/t/use-moment-js-and-lodash-in-scripts/3240/2 "2022-12-09T19:33:15Z")

</div>

Ideally we could centrally define JS to import into scripts, and define our own JS + CSS for the UI.

I am injecting JS + CSS into the front end now, but I am forced to use a browser extension as there is no official support.

**Related:**

> [@Centralized script management for Workspace](https://community.fibery.io/t/centralized-script-management-for-workspace/3039):
>
> When you have 30+ bits of javascript scattered among dozens of Rules and Buttons in a dozen Spaces, managing this codebase becomes a nightmare scream. If a Space or DB gets renamed, or if a DB gets moved from one Space to another, scripts break. We really need a more robust way to manage a Workspace’s codebase of scripts - a single place where we can: See everywhere scripts are defined: Space \> DB \> Button/Rule \> Action Perform global search-and-replace on all our scripts (or scripts defi…

---

_[View the full topic](https://community.fibery.io/t/use-moment-js-and-lodash-in-scripts/3240)._
