Split scripts into lib and mws for minification and concat