Fixes url selection bug in polling.
Cleans and precompiles assets.