PhoenixRoutesJs provide generating javascript script for accesing phoenix routes helpers in window object. It allow tou use it any where in javascript code and modules
Module keep javascript helper that renders main script