[!!!][TASK] Remove deprecated JavaScript code