bug fixes for firefox/polymer disagreements