Theme main.js - commented unused functions