Implement tricks for IE compatibility