added closure compiler for testing
misc changes for closure compiler testing
fixed bugs found with closure compiler
generated libs