added hideSTrem() function in main.js