ie8 javascript fixes - post gift and post comment is not working 100% in ie8