erb backend.js and use url helper for tags path