[Common] Replacing JS warnings + errors