requires and common js done right