Javascript mix framework