Changed grunt file to respect js dependency order. At some point I'll switch to require and use that