Added a js helper