using new uglify v2
iBooks widget support
cleaned up sample app