Modifications to support Firefox and ignore <ie8