added variables subject & content in js