Optimizing JS

Merged same click event found in custom.js and tv_option.js