Improved error handling in the static implementation. Added info about polymer in the readme file.