Fixed Javascript Issue

Javascript issue in Facebook tab fixed