remove conflict of javascript snippet