centralize static js