Added JavaScript assignment