Move extra JS libs to partial, and only include where needed