plugin js files don't seem to get erb-ed in production, so set a var for the js in the view instead