Polymer Designer: fix some minor JS errors/warnings

TBR