Clean up JS, add YUIDoc support, automatically create IIFE via asset pipeline