Made the js and php articlegen seperate