fixed bug - closure compiler did not preserve props