Advanced compilation (minified JS still broken)