compatibility fix according to the current Custom Elements spec
add console-log, update to Polymer 0.5.1