Pass article id through to javascript.