Updating to polymer framework + some updates in the API
Fixes issues on firefox